package com.gitee.jmliu1983.finacehelper.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.ResponseBody;


@Controller    
public class FinaceController {
    @GetMapping("/get-positions")
    @ResponseBody
    public String getPositions(@RequestParam(name = "userid", defaultValue = "unknown user") String userid) {
    	
        return "Hello " + userid;
    }
}
